package com.tjetc.dao;

import com.tjetc.domain.dto.UserDTO;
import com.tjetc.domain.po.User;

public interface UserMapper {
    /**
     * 根据用户名查询用户信息
     * @param username
     * @return
     */
    User getByUsername(String username);

    /**
     * 用户注册
     * @param user
     */
    void insert(User user);
}
